package com.neuedu.spring.dao;

import com.neuedu.spring.po.Dept;

import java.util.List;
import java.util.Map;

/**
 * @author 金山
 * 项目：spring-learn
 * site: https://blog.fulfill.com.cn
 * 描述
 * @data 2025/3/714:05
 */
public class DeptDao {

    //String 类型
    private String url;
    private String username;



    private Map<String,String> mapInfo;

    private List<String> infoList;


    private List<Dept> deptList;




    public void selectList(){
        System.out.println("Dao的查询方法");
        System.out.println(url);
        System.out.println(username);

        System.out.println("mapInfo = " + mapInfo);
        infoList.forEach(System.out::println);
        System.out.println("-------------------------------------------------");

        deptList.forEach(System.out::println);








    }


    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Map<String, String> getMapInfo() {
        return mapInfo;
    }

    public void setMapInfo(Map<String, String> mapInfo) {
        this.mapInfo = mapInfo;
    }

    public List<String> getInfoList() {
        return infoList;
    }

    public void setInfoList(List<String> infoList) {
        this.infoList = infoList;
    }

    public List<Dept> getDeptList() {
        return deptList;
    }

    public void setDeptList(List<Dept> deptList) {
        this.deptList = deptList;
    }
}
